#ifndef _UFO_PLATFORM_SYSTEM_H_
#define _UFO_PLATFORM_SYSTEM_H_

//#define UFO_X86
//#define UFO_ARM

typedef enum _UFO_WIN_STYLE
{
	STANDARD_WIN,
	POPUP_WIN,
	LAYERED_WIN,
}UFO_WIN_STYLE;

typedef struct _UFOAPP_INFO
{
	int width, height;
	UFO_WIN_STYLE winStyle;
}UFOAPP_INFO;

int ufoLog(const char* tag, const char *fmt, ...);

void ufoSetupAppInfo(UFOAPP_INFO *info);

void ufoInitialization();

void ufoUnitialization();

UFOAPP_INFO* ufoGetAppInfo();

long ufoGetCurTime();

void ufoSleep(int microsecond);

const char* ufoGetResPath();

//int ufoGetTouchPos(float *x, float *y);

//int ufoGetTouchState();

int ufoRuningLoop(void *param);

int ufoGetResolution(int *width, int *height);

float ufoGetDPI();

#endif